package com.example.demo.entity;

/**
 * 员工实体类
 * 用于封装员工信息数据
 */
public class Employee {
    /**
     * 员工ID（主键）
     */
    private Integer id;
    /**
     * 员工姓名
     */
    private String name;
    /**
     * 员工性别（M/F）
     */
    private String gender;
    /**
     * 员工年龄
     */
    private Integer age;
    /**
     * 员工描述信息
     */
    private String describe;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", age=" + age +
                ", describe='" + describe + '\'' +
                '}';
    }

}
